<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

//$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
?>
<!DOCTYPE html>
<html>
<head>
	<?php echo $this->Html->charset('utf-8'); ?>
	<title>
		<?php echo $title_for_layout; ?>
	</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<?php
		echo $this->Html->meta('icon');

		echo $this->Html->css(array('bootstrap.min-flatly', 'bootstrap-responsive-flatly.min', 'login'));
		
		echo $this->Html->script(array('jquery-1.9.1.min.js', 'bootstrap.min.js'));
		
		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
		
	?>
	<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
	<!--[if lt IE 10]>
		<?php echo $this->Html->script(array('html5shiv.js', 'jquery.placeholder.min.js'));?>
		<script type="text/javascript">
			$(function() {
				 $('input, textarea').placeholder();
			});
		</script>	
	<![endif]-->
</head>
<body>
	<div class="login">
		<div class="login-screen">
			<div class="login-icon">
				<?php echo $this->Html->link($this->Html->image('mail-icon.png'), '/', array('escape' => false))?>
				<h4><?php echo __('Welcome to ')?><small><?php echo __('Lunar Day Reminder')?></small></h4>
			</div>
			<div class="login-form">
				<?php if (!empty($page_title)): ?><h4 class="page-title"><?php echo $page_title?></h4><hr><?php endif;?>
				<?php echo $this->Session->flash(); ?>
				<?php echo $this->fetch('content'); ?>
			</div>
			<div class="clear pull-left"></div>
		</div>
	</div>
	
	<footer>
	</footer>
	<?php //echo $this->element('sql_dump'); ?>
</body>
</html>
